Skip to content

std: Rename AsRef{Reader,Writer} to ByRef{Reader,Writer} #18891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 14, 2014

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Nov 12, 2014

It seems odd that the AsRefReader/AsRefWriter have the single method by_ref(). This creates the new traits ByRefReader/ByRefWriter and deprecates the old traits.

@rust-highfive
Copy link
Contributor

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

bors added a commit that referenced this pull request Nov 14, 2014
It seems odd that the `AsRefReader`/`AsRefWriter` have the single method `by_ref()`. This creates the new traits `ByRefReader`/`ByRefWriter` and deprecates the old traits.
@bors bors closed this Nov 14, 2014
@bors bors merged commit 0ab861a into rust-lang:master Nov 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants